Recursively looks for urls for a given url from same host#8
Closed
gobelinus wants to merge 1 commit intopeterbe:masterfrom
Closed
Recursively looks for urls for a given url from same host#8gobelinus wants to merge 1 commit intopeterbe:masterfrom
gobelinus wants to merge 1 commit intopeterbe:masterfrom
Conversation
Owner
|
Thanks. That's a good start but I think it needs some thought. You can already supply multiple URLs but you do it from the outside. I.e. you can write a script that does the spidering and then calling mincss from there. Would you consider making it some sort of plugin? Perhaps a repo called |
Author
That was the purpose of writing recursive thing to avoid usage of external script. It can always be converted to a plugin but any outside script/plugin will result in duplication specially wrt fetching urls, and parsing html. Alternatively, I think we can have a new param which can determine recursive nature. e.g. |
Owner
|
Too old now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Given a url, tries to find urls from a['href'] and parses them if links are from same host, basically to handle use case when same css file is used across multiple pages and instead of passing multiple urls, single url will do.
Also ignores, urls like 'javascript:', 'mailto:'.
Ignores query string and fragments from url while comparing urls.